package com.atguigu.medicalsugar.service;

import com.atguigu.medicalsugar.bean.PatientBean;
import com.atguigu.medicalsugar.mapper.PatientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatientServiceImpl implements PatientService {
    
    @Autowired
    PatientMapper patientMapper;
    @Override
    public List<PatientBean> patient(Integer date) {
        return patientMapper.patient(date);
    }
    
}